package com.sftz.framework.res.enums;

import com.uxuexi.core.common.enums.IEnum;

public enum UserTypeEnum implements IEnum {

	COMMON(1, "个人用户"), SYS(2, "系统用户"), INSTI(3, "机构用户"), THIRDPARTY(4, "第三方用户"),EDUSIGN(5, "学历注册");
	private int key;
	private String value;

	private UserTypeEnum(final int key, final String value) {
		this.value = value;
		this.key = key;
	}

	@Override
	public String key() {
		return String.valueOf(key);
	}

	@Override
	public String value() {
		return value;
	}

	public int intKey() {
		return key;
	}

}
